<template>
    <div>
        <div>

            <headers />

            <!-- {{resourcelist}} -->

            <ul>

                <li v-for="i in resourcelist" :key="i.name">

                    <router-link :to="{'path':i.url}">{{i.name}}</router-link>

                </li>
            </ul>
        </div>

        <h1>欢迎来到用户中心</h1>
        
        

    </div>
</template>

<script>
import headers from './headers.vue'
export default{
    components: {
        'headers':headers,
        
    },

    data () {
        return {
            resourcelist:JSON.parse(localStorage.getItem('resourcelist'))
            
        }
    },
    methods: {

        

    },

    mounted () {

        
      
    }
}
</script>


<style>
@import url("../assets/style.css");
</style>